package cn.jd.basic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisteredDto {
    @NotBlank(message = "电话号码不能为空")
    private String phone;
    @NotBlank(message = "图形验证码不能为空")
    private String imageCodeValue;
    @NotBlank(message = "手机验证码不能为空")
    private String smsCode;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "密码不能为空")
    private String passwordRepeat;

}
